<template>
    <div class="w-full remind">
        <div class="font-bold">
            <slot name="title"></slot>
        </div>
        <div>
            <slot name="content"></slot>
        </div>
        <svg-icon size="16px" icon-class="close" class="close" @click="close"></svg-icon>
    </div>
</template>

<script setup lang="ts">
const emit = defineEmits(['update:data'])
function close() {
    emit('update:data')
}

</script>

<style lang="scss">

</style>